import Vue from 'vue'
import Router from 'vue-router'
import mRouterMap from '@/router/mRouterMap'
import routerMap from '@/router/routerMap'
import store from '../store'

Vue.use(Router)

const router = new Router({
  mode: 'history',
  routes: [
    ...mRouterMap,
    ...routerMap,
  ]
})

export default router
